package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Generator;
import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;
import java.math.BigDecimal;


@Table(name = "t_idle_goods")
public class IdleGoods extends BaseEntity {

    /**
     * 编号
     **/
    private Integer id;
    /**
     * 闲置名称
     **/
    private String name;
    /**
     * 原价格
     **/
    private BigDecimal oldPrice;
    /**
     * 新价格
     **/
    private BigDecimal newPrice;
    /**
     * 闲置照片
     **/
    private String idlePic;
    /**
     * 创建时间
     **/
    private Date createdTime;
    /**
     * 简介
     **/
    private String sunmmary;
    /**
     * 地址
     **/
    private String address;
    /**
     * 状态
     **/
    private Integer status;
    /**
     * 城市
     */
    private Integer cityId;
    /**
     * 区域
     */
    private Integer areaId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 电话
     */
    private String phone;

    /**
     * 编号
     **/
    @Id
    @Generator
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 闲置名称
     **/
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 原价格
     **/
    public BigDecimal getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(BigDecimal oldPrice) {
        this.oldPrice = oldPrice;
    }

    /**
     * 新价格
     **/
    public BigDecimal getNewPrice() {
        return newPrice;
    }

    public void setNewPrice(BigDecimal newPrice) {
        this.newPrice = newPrice;
    }

    /**
     * 闲置照片
     **/
    public String getIdlePic() {
        return idlePic;
    }

    public void setIdlePic(String idlePic) {
        this.idlePic = idlePic;
    }

    /**
     * 创建时间
     **/
    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * 简介
     **/
    public String getSunmmary() {
        return sunmmary;
    }

    public void setSunmmary(String sunmmary) {
        this.sunmmary = sunmmary;
    }

    /**
     * 地址
     **/
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 状态
     **/
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}